//
//  ApeConstant.h
//  ApeExamples
//
//  Created by Eton on 2017/1/10.
//  Copyright © 2017年 Tlsion. All rights reserved.
//

/*APP相关的自定义宏 
 * warning: 关联ApeFoundation
 */

//typedef NS_ENUM(NSInteger, AppTarget) {
//    AppTarget_BDDuser, //消费端
//    AppTarget_BDDstore,//网点端
//    AppTarget_BDDflash,//达人端
//    AppTarget_BDDemp//员工端
//};

#ifndef ApeConstant_h
#define ApeConstant_h

//**************** AppLocaliszble **************//
#define AppLocaliszble @"AppLocaliszble"

//**************** HTTP 请求相关 **************//

//#if defined(BDDuser_APP)
//static NSInteger appTarget = AppTarget_BDDuser;
//#define AppScheme @"BDDuserapp"
//#elif defined(BDDstore_APP)
//static NSInteger appTarget = AppTarget_BDDstore;
//#define AppScheme @"BDDstoreapp"
//#elif defined(BDDflash_APP)
//static NSInteger appTarget = AppTarget_BDDflash;
//#define AppScheme @"BDDflashapp"
//#elif defined(BDDemp_APP)
//static NSInteger appTarget = AppTarget_BDDemp;
//#define AppScheme @"BDDempapp"
//#endif


//**************** 颜色 **************//
//界面默认背景色
#define gBackgroundColor HEX(0xf5f5f5)
#define gBackgroundMinorColor gBackgroundColor
//App主调色
#define gMainColor HEX(0x000000)
//App次调色
#define gMinorColor HEX(0x787878)
//线条色
#define gLineColor HEX(0xececec)
//文字主色
#define gTextMainColor HEX(0x000000)
//文字次色
#define gTextMinorColor HEX(0x787878)
//文字特殊色（价格色）
#define gTextSpecialColor HEX(0xd6214b)

//TabBarViewController 需要的变量
#define gTabBarBackgroundColor [UIColor whiteColor]
#define gTabBarLineColor gLineColor
#define gTabBarTintColor gTextMinorColor
#define gTabBarItemImageInsets UIEdgeInsetsMake(0, 0, 0, 0)
#define gTabBarItemTitlePosition UIOffsetMake(0, -3)

//NavViewController 需要的变量
#define gNavBackgroundColor gMainColor
#define gNavLineColor gMainColor
#define gNavTintColor [UIColor whiteColor]
#define gNavBarItemFont [UIFont systemFontOfSize:14.0f]
#define gNavBarTitleFont [UIFont boldSystemFontOfSize:18.0f]
#define gNavBackImage [UIImage imageNamed:@"top_left"]

//#define gFontSelected18 [UIFont systemFontOfSize:18.0]
//#define gFontMain15 [UIFont systemFontOfSize:15.0]
//#define gFontSub12 [UIFont systemFontOfSize:13.0]
//#define gFontDetail10 [UIFont systemFontOfSize:10.5]


#endif /* ApeConstant_h */
